package com.itheima.mapper;

import com.itheima.pojo.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface PermissionMapper {
    List<Permission> findPage(@Param("queryString") String queryString);

    void add(Permission permission);

    void edit(Permission permission);

    void deletePermissionById(@Param("id") Integer id);

    List<Permission> findPermissionAll();

    Integer[] findPermissionIdsByRoleId(@Param("id") Integer id);

}
